package com.AI;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Point;
import android.util.Log;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;
import android.location.Location;
import com.google.android.maps.GeoPoint;
import com.google.android.maps.MapView;
import com.google.android.maps.Projection;

public class MyMapView extends MapView {

	public MyMapView(android.content.Context context, android.util.AttributeSet attrs) {
		super(context, attrs);
		
	}

	public MyMapView(android.content.Context context, android.util.AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
	}

	public MyMapView(android.content.Context context, java.lang.String apiKey) {
		super(context, apiKey);
	}
	
	/*@Override
	public boolean onTouchEvent(MotionEvent event) {
		return false;
	}*/

	int oldZoomLevel = -1;
	
	
	public void dispatchDraw(Canvas canvas) {
		super.dispatchDraw(canvas);
		if (getZoomLevel() != oldZoomLevel) {
			oldZoomLevel = getZoomLevel();
		}
	}
}
	
